#ifndef JVM_CLASSLOADER_H
#define JVM_CLASSLOADER_H

#include "memory/allocation.h"
#include "oops/instanceKlass.h"
#include "classFileStream.h"
#include "classFileParser.h"

#include <sys/stat.h>
#include <sys/fcntl.h>
#include <string.h>

using namespace std;

class ClassLoader : public AllStatic {
protected:

    static const char* _class_path;
public:
    //Initialization
    static void initialize(const char* _class_path);

    // Load individual .class file
    static InstanceKlass* load_classfile(const char* name);
};

#endif //JVM_CLASSLOADER_H